public class GameState {
    public final Board board;
    public final long spentTime;

    GameState(Board board, long spentTime) {
        this.board = board;
        this.spentTime = spentTime;
    }

    /* Copy constructor */
    GameState(GameState gameState) {
        this.board = new Board(gameState.board);
        this.spentTime = gameState.spentTime;
    }
}
